<%@ include file="/WEB-INF/jsp/includes/include.jsp" %>

<form:form method="post" commandName="userSearch">
	
	<div id="validationErrors">
		<form:errors path="*" cssClass="error"/>
	</div>
	
	<fieldset>
		<legend>Search Fields</legend>
		<div>
			<label for="firstName">First Name:</label>
			<form:input path="firstName" id="firstName" size="50" maxlength="100" cssClass="test" cssErrorClass="text_error"/>
			<form:errors path="firstName" id="firstNameErrors" cssClass="error" />
		</div>
		<div>
			<label for="lastName">Last Name:</label>
			<form:input path="lastName" id="lastName" size="50" maxlength="100" cssClass="test" cssErrorClass="text_error"/>
			<form:errors path="lastName" id="lastNameErrors" cssClass="error" />
		</div>
		<div>
			<label for="emailAddress">Email Address:</label>
			<form:input path="emailAddress" id="emailAddress" size="50" maxlength="100" cssClass="test" cssErrorClass="text_error"/>
			<form:errors path="emailAddress" id="emailAddressErrors" cssClass="error" />
		</div>
	</fieldset>
	
	<fieldset class="submit">
		<input type="submit" value="Search" class="submit"/>
	</fieldset>
</form:form>
